home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectShow / BaseClasses / dllsetup.h < prev    next >
Encoding:
Text File  |  2001-10-08  |  1.4 KB  |  47 lines

  1. //------------------------------------------------------------------------------
  2. // File: DllSetup.h
  3. //
  4. // Desc: DirectShow base classes.
  5. //
  6. // Copyright (c) 1992-2001 Microsoft Corporation.  All rights reserved.
  7. //------------------------------------------------------------------------------
  8.  
  9.  
  10. // To be self registering, OLE servers must
  11. // export functions named DllRegisterServer
  12. // and DllUnregisterServer.  To allow use of
  13. // custom and default implementations the
  14. // defaults are named AMovieDllRegisterServer
  15. // and AMovieDllUnregisterServer.
  16. //
  17. // To the use the default implementation you
  18. // must provide stub functions.
  19. //
  20. // i.e. STDAPI DllRegisterServer()
  21. //      {
  22. //        return AMovieDllRegisterServer();
  23. //      }
  24. //
  25. //      STDAPI DllUnregisterServer()
  26. //      {
  27. //        return AMovieDllUnregisterServer();
  28. //      }
  29. //
  30. //
  31. // AMovieDllRegisterServer   calls IAMovieSetup.Register(), and
  32. // AMovieDllUnregisterServer calls IAMovieSetup.Unregister().
  33.  
  34. STDAPI AMovieDllRegisterServer2( BOOL );
  35. STDAPI AMovieDllRegisterServer();
  36. STDAPI AMovieDllUnregisterServer();
  37.  
  38. // helper functions
  39. STDAPI EliminateSubKey( HKEY, LPTSTR );
  40.  
  41.  
  42. STDAPI
  43. AMovieSetupRegisterFilter2( const AMOVIESETUP_FILTER * const psetupdata
  44.                           , IFilterMapper2 *                 pIFM2
  45.                           , BOOL                             bRegister  );
  46.  
  47.